<!-- 合同回款 -->
<template>
    <div class="">
        <el-card class="mt-4 !border-none" shadow="never">
            <el-tabs v-model="activeName">
                <el-tab-pane label="回款计划" name="first">
                    <payment-plan></payment-plan>
                </el-tab-pane>
                <el-tab-pane label="回款明细" name="followUp">
                    <payment-details></payment-details>
                </el-tab-pane>
            </el-tabs>
        </el-card>
    </div>
</template>

<script setup lang="ts">
import PaymentDetails from './paymentDetails.vue'
import PaymentPlan from './paymentPlan.vue'
// const handleClick = async (tab, event) => {
//   //   if (tab == "first") {
//   //     showEdit.value = true;
//   //     await nextTick();
//   //     // editRef.value?.open();
//   //   } else if (tab == "followUp") {
//   //     addLinkshowEdit.value = true;
//   //     await nextTick();
//   //     // addLinkEditRef.value?.open();
//   //   }
// };
const activeName = 'first'
</script>
<style scoped></style>
